package refactorplugin.views;

//import org.eclipse.core.runtime.IAdaptable;

public class TreeLeaf<T> extends TreeComponent {
	
	private T _element;
	
	@Override
	public boolean isLeaf() {
		return true;
	}
	
	public TreeLeaf(String name, T element) {
		super(name);
		_element = element;
	}
	
	public T getElement() {
		return _element;
	}

}
